Builder

public final class Builder

A builder of WheelEventParams.

Builders are created by invoking newBuilder. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Functions

Link copied to clipboard
Returns a new WheelEventParams instance built from the current state of this builder.
Link copied to clipboard
Sets the delta units type.
Link copied to clipboard
public WheelEventParams.Builder deltaX(double deltaX)
Sets the number of units to scroll horizontally.
Link copied to clipboard
public WheelEventParams.Builder deltaY(double deltaY)
Sets the number of units to scroll vertically.
Link copied to clipboard
Sets the DOM mouse event parameters.